<!-- 通知详情 -->
<template>
<div>
    
    <group>
        <cell class="cell" :title="announcement.title" primary="title"></cell>
        <cell :value="announcement.date"></cell>
        <div v-html="announcement.replaced_content"></div>
    </group>
</div>
</template>
<script>
    export default {
        data() {
            return {
                announcement: {}
            };
        },
        methods: {
            handleClick() {
                console.log('1111111');
            }
        },
        created() {
            this.ajax.post("all_in_one/get", {id:this.$route.params.id}).then( res => {
                this.announcement = res.data.data;
            });
        }
    };
</script>

<style scoped>
.cell {
   text-align: center;
   font-size: 2rem;
}
</style>